package com.ruoyi.system.domain.city;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 收藏对象 city_collect
 * 
 * @author cjq
 * @date 2023-07-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CityCollect  implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 收藏ID */
    @TableId(type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long collectId;

    /** 项目id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long projectId;

    /** 用户id*/
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    /** 用户类型 0 微信 1支付宝  */
    @Excel(name = "用户类型 0 微信 1支付宝 ")
    private Integer userType;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目标题 */
    @Excel(name = "项目标题")
    private String projectTitle;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
